package cn.operation.api.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.math.BigDecimal;

/**
 * @FileName: ServiceOrderListDTO
 * @Description: 运单明细中服务订单数据
 * @author: Felix
 * @date: 2017/8/29.
 */
@ApiModel(value = "ServiceOrderListDTO", description = "运单明细中服务订单数据")
public class ServiceOrderListDTO {

    @ApiModelProperty(value = "运单号", position = 1)
    private String waybillCode;
    @ApiModelProperty(value = "运单明细ID", position = 2)
    private Integer waybillDetailId;
    @ApiModelProperty(value = "服务订单号", position = 3)
    private String orderCode;
    @ApiModelProperty(value = "单台运费", position = 4)
    private BigDecimal unitCost;
    @ApiModelProperty(value = "品牌ID", position = 5)
    private Integer brandId;
    @ApiModelProperty(value = "品牌名称", position = 6)
    private String brandName;
    @ApiModelProperty(value = "车型ID", position = 7)
    private Integer vehicleId;
    @ApiModelProperty(value = "车型名称", position = 8)
    private String vehicleName;
    @ApiModelProperty(value = "车架号", position = 9)
    private String vin;
    @ApiModelProperty(value = "服务订单调度次数", position = 10)
    private Integer serviceDispatchTimes;

    public String getWaybillCode() {
        return waybillCode;
    }

    public void setWaybillCode(String waybillCode) {
        this.waybillCode = waybillCode;
    }

    public Integer getServiceDispatchTimes() {
        return serviceDispatchTimes;
    }

    public void setServiceDispatchTimes(Integer serviceDispatchTimes) {
        this.serviceDispatchTimes = serviceDispatchTimes;
    }

    public Integer getWaybillDetailId() {
        return waybillDetailId;
    }

    public void setWaybillDetailId(Integer waybillDetailId) {
        this.waybillDetailId = waybillDetailId;
    }

    public String getOrderCode() {
        return orderCode;
    }

    public void setOrderCode(String orderCode) {
        this.orderCode = orderCode;
    }

    public BigDecimal getUnitCost() {
        return unitCost;
    }

    public void setUnitCost(BigDecimal unitCost) {
        this.unitCost = unitCost;
    }

    public Integer getBrandId() {
        return brandId;
    }

    public void setBrandId(Integer brandId) {
        this.brandId = brandId;
    }

    public String getBrandName() {
        return brandName;
    }

    public void setBrandName(String brandName) {
        this.brandName = brandName;
    }

    public Integer getVehicleId() {
        return vehicleId;
    }

    public void setVehicleId(Integer vehicleId) {
        this.vehicleId = vehicleId;
    }

    public String getVehicleName() {
        return vehicleName;
    }

    public void setVehicleName(String vehicleName) {
        this.vehicleName = vehicleName;
    }

    public String getVin() {
        return vin;
    }

    public void setVin(String vin) {
        this.vin = vin;
    }

    @Override
    public String toString() {
        return "ServiceOrderListDTO{" +
                "waybillCode='" + waybillCode + '\'' +
                ", waybillDetailId=" + waybillDetailId +
                ", orderCode='" + orderCode + '\'' +
                ", unitCost=" + unitCost +
                ", brandId=" + brandId +
                ", brandName='" + brandName + '\'' +
                ", vehicleId=" + vehicleId +
                ", vehicleName='" + vehicleName + '\'' +
                ", vin='" + vin + '\'' +
                ", serviceDispatchTimes=" + serviceDispatchTimes +
                '}';
    }
}